import main from '@/view/main.vue'
import test from "@/view/Test/Test.vue"
import {createRouter, createWebHistory} from "vue-router";
import chatgpt from "@/view/chatgptView/chatgpt.vue";
import stability from "@/view/stabilityView/stability.vue";
import homework from "@/view/homeworkView/homework.vue"
import  login from "@/components/loginView/login.vue"
const routes = [
    {path:'/',component:main,
    children:[
        {path:'/ai/chatgpt',component:chatgpt},
        {path:'/ai/stability',component: stability},
        {path:'/ai/homework',component: homework}
    ]},
    // {
    //     path: '/login',
    //     component: login
    // }
]
const router = createRouter(
    {
        history:createWebHistory(),
        routes:routes
    }

)
export default router